package com.child.java.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.child.java.dao.InWearOrderMapper;
import com.child.java.pojo.InWearOrderVO;
import com.child.java.service.InWearOrderService;

@Service
public class InWearOrderServiceImpl implements InWearOrderService {
	
	@Autowired
	private InWearOrderMapper inWearOrderMapper;

	@Override
	public void insert(InWearOrderVO inWearOrderVO) {
		inWearOrderMapper.insert(inWearOrderVO);
	}

	@Override
	public List<InWearOrderVO> getList() {
		return inWearOrderMapper.getList();
	}

	@Override
	public void delete(String id) {
		inWearOrderMapper.delete(id);
	}

	@Override
	public InWearOrderVO getById(String id) {
		return inWearOrderMapper.getById(id);
	}

	@Override
	public void update(InWearOrderVO inWearOrderVO) {
		inWearOrderMapper.update(inWearOrderVO);
	}

	@Override
	public List<InWearOrderVO> getListByPageInfo(Map<String, Object> map) {
		return inWearOrderMapper.getListByPageInfo(map);
	}

	@Override
	public int getListCount(Map<String, Object> map) {
		return inWearOrderMapper.getListCount(map);
	}

}
